package com.guli.common.constant;
/*
 * @Author 罗
 * @date 2020/10/19 - 3:25 下午
 */

public enum ProtocolEnum {

    HTTP("http",80),HTTPS("https",443);

    private String protocol;
    private Integer port;

    ProtocolEnum(String protocol, Integer port) {
        this.protocol = protocol;
        this.port = port;
    }

    public String getProtocol() {
        return protocol;
    }

    public Integer getPort() {
        return port;
    }
}
